import 'package:get_it/get_it.dart';
import 'package:learning_content_admin_pannel.home/home_page/domain/use_cases/handle_all_collection_list_item_page_opening_request/use_case.dart';
import 'package:learning_content_admin_pannel.home/home_page/domain/use_cases/handle_all_phrasal_verb_page_opening_request/use_case.dart';
import 'package:learning_content_admin_pannel.home/home_page/domain/use_cases/handle_all_word_page_opening_request/use_case.dart';

final sl = GetIt.asNewInstance();

Future<void> init() async {
  sl.registerLazySingleton<HandleAllCollectionListItemPageOpeningRequest>(() {
    return const HandleAllCollectionListItemPageOpeningRequestImpl();
  });

  sl.registerLazySingleton<HandleAllPhrasalVerbPageOpeningRequest>(() {
    return const HandleAllPhrasalVerbPageOpeningRequestImpl();
  });

  sl.registerLazySingleton<HandleAllWordPageOpeningRequest>(() {
    return const HandleAllWordPageOpeningRequestImpl();
  });
}
